<template>
  <div class="kong-box">
    <div class="kong">
      <img src="./images/list-kong.png" alt="">
      <span class="text" v-html="emptyText"></span>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    emptyText: {
      defaule: ''
    }
  }
}
</script>

<style scoped lang="scss">
.kong-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B274F;
  > .kong {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    > img {
      display: block;
      margin: 0 auto;
      height: 216px;
      max-height: calc(100% - 46px);
      object-fit: contain;
    }
    .text {
      text-align: center;
      display: block;
      font-size: 16px;
      height: 16px;
      line-height: 16px;
      margin-top: 30px;
      color: #8FEFFF;
    }
  }
}
</style>
